#pragma once
#include<iostream>
#define valueType int
using namespace std;
namespace GIS20133
{
	struct node
	{
		valueType value;
		node* left;
		node* right;
	};

	void preorder(node* root)
	{
		if (root == nullptr)
			return;

		cout << root->value;
		preorder(root->left);
		preorder(root->right);
	}

	void inorder(node* root)
	{
		if (root == nullptr)
			return;

		inorder(root->left);
		cout << root->value;
		inorder(root->right);
	}
	
}